package com.kayo.specimen.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface PagingParam {
    int page() default 1;
    int limit() default 50;
    String sort() default "1";//默认排序第一个字段
    String order() default "asc";//默认升序
}
